#ifndef DEFAULTWINDOWFINDER_H
#define DEFAULTWINDOWFINDER_H

#include "windowfinder.h"

namespace UDock {

class DefaultWindowFinder : public IWindowFinder
{
public:
    DefaultWindowFinder() {}

    virtual Window windowFromPoint(const Point& point, const std::unordered_set<Window>& widgets_to_ignore);
    virtual bool isFirstDescendantOfSecond(Window first, Window second);

    static DefaultWindowFinder* getDefaultWindowFinder();

private:
    static DefaultWindowFinder m_wf;
};

}


#endif // DEFAULTWINDOWFINDER_H
